<?php
class defaultController extends Controller {
	
	function beforeAction() {
		echo "aaaa";
	}
	
	function afterAction() {
		echo "ccc";
	}
	
	function defaultAction() {
		//echo "weweww";
		
		Page::layoutFile("default");
		
		
		echo "bbb";
		
		//Page::mainContentFile("default");
		
		//Page::setTitle("aaabbb");
		
	}
	
	function page1Action() {
		//$this->layout("inner");
		//$this->mainContent("page1");
		
		
		
		//Page::layout();
		//Page::mainContent();
		
		//Page::layoutFile($fileName);
		//Page::mainContentFile($fileName);
		
	}
}
?>
